<#include "../common/layout.ftl"/>
<@layout>
<div width="100%">
	<div class="dxfsqd_title">代驾员登录日志</div>
	<div class="dxfsqd_shearch">
		<form method="post" action="/driver/loginLog" class="form-inline">
			<label><span>工号：</span><input type="text" class="input-medium" style="height: 30px" name="job_number" value="${job_number?if_exists}"/></label> 
			<label><span>姓名：</span><input type="text" class="input-medium" style="height: 30px"  name="real_name" value="${real_name?if_exists}"/></label> 
			<label><span>统计月份：</span><input type="text" class="input-medium" style="height: 30px"  name="curDate" value="${curDate!""}" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})"/></label> 
			<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i>查看</button>
			<button type="button" class="btn btn-info" onclick="javascript:history.back();">返回</button>
		</form>
</div>
<div class="dxfsqd_table">
	<table class="table table-bordered"  align="center">
		  <tr>
			<th scope="col">名称</th>
			<th scope="col">工号</th>
			<th scope="col">1</th>
			<th scope="col">2</th>
			<th scope="col">3</th>
			<th scope="col">4</th>
			<th scope="col">5</th>
			<th scope="col">6</th>
			<th scope="col">7</th>
			<th scope="col">8</th>
			<th scope="col">9</th>
			<th scope="col">10</th>
			<th scope="col">11</th>
			<th scope="col">12</th>
			<th scope="col">13</th>
			<th scope="col">14</th>
			<th scope="col">15</th>
			<th scope="col">16</th>
			<th scope="col">17</th>
			<th scope="col">18</th>
			<th scope="col">19</th>
			<th scope="col">20</th>
			<th scope="col">21</th>
			<th scope="col">22</th>
			<th scope="col">23</th>
			<th scope="col">24</th>
			<th scope="col">25</th>
			<th scope="col">26</th>
			<th scope="col">27</th>
			<th scope="col">28</th>
			<th scope="col">29</th>
			<th scope="col">30</th>
			<th scope="col">31</th>
		  </tr>
		  <#if page??>
		  <#list page.list as loginLog>
		       <tr align="center">
		      	  <td>${loginLog.name!""}</td>
			      <td>${loginLog.job_number!""}</td>
			      <td>${loginLog.day1?string(",##0.0#")}</td>
				  <td>${loginLog.day2?string(",##0.0#")}</td>
				  <td>${loginLog.day3?string(",##0.0#")}</td>
				  <td>${loginLog.day4?string(",##0.0#")}</td>
				  <td>${loginLog.day5?string(",##0.0#")}</td>
				  <td>${loginLog.day6?string(",##0.0#")}</td>
				  <td>${loginLog.day7?string(",##0.0#")}</td>
				  <td>${loginLog.day8?string(",##0.0#")}</td>
				  <td>${loginLog.day9?string(",##0.0#")}</td>
				  <td>${loginLog.day10?string(",##0.0#")}</td>
				  <td>${loginLog.day11?string(",##0.0#")}</td>
				  <td>${loginLog.day12?string(",##0.0#")}</td>
				  <td>${loginLog.day13?string(",##0.0#")}</td>
				  <td>${loginLog.day14?string(",##0.0#")}</td>
				  <td>${loginLog.day15?string(",##0.0#")}</td>
				  <td>${loginLog.day16?string(",##0.0#")}</td>
				  <td>${loginLog.day17?string(",##0.0#")}</td>
				  <td>${loginLog.day18?string(",##0.0#")}</td>
				  <td>${loginLog.day19?string(",##0.0#")}</td>
				  <td>${loginLog.day20?string(",##0.0#")}</td>
				  <td>${loginLog.day21?string(",##0.0#")}</td>
				  <td>${loginLog.day22?string(",##0.0#")}</td>
				  <td>${loginLog.day23?string(",##0.0#")}</td>
				  <td>${loginLog.day24?string(",##0.0#")}</td>
				  <td>${loginLog.day25?string(",##0.0#")}</td>
				  <td>${loginLog.day26?string(",##0.0#")}</td>
				  <td>${loginLog.day27?string(",##0.0#")}</td>
				  <td>${loginLog.day28?string(",##0.0#")}</td>
				  <#if loginLog.day29?? >
				  	<td>${loginLog.day29?string(",##0.0#")}</td>
				  <#else>
				  	<td>
				  	</td>
				  </#if>
				  <#if loginLog.day30 ??>
				  	<td>${loginLog.day30?string(",##0.0#")}</td>
				  <#else>
				  	<td></td>
				  </#if>
				  <#if loginLog.day31??>
				  	<td>${loginLog.day31?string(",##0.0#")}</td>
				  <#else>
				  	<td>
				  	</td>
				  </#if>
			  </tr>
		  </#list>
		  </#if>
	</table>
</div>
</div>
<#include "../common/paginate.ftl" />
<#if page??>
<@paginate currentPage=page.pageNumber totalPage=page.totalPage actionUrl="/driver/loginLog/" urlParas="?curDate=${curDate}"/>
</#if>
<script type="text/javascript" src="/js/wdatePicker/WdatePicker.js"></script>

</@layout>